package com.qingcheng.dao;

import com.qingcheng.pojo.system.AdminRole;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface AdminRoleMapper extends Mapper<AdminRole> {


    @Select("SELECT role_id FROM tb_admin_role WHERE admin_id= #{id} ;")
    public List<Integer>  findRoleIdById(@Param("id") Integer id);
}
